.home-page {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;

  .home-top {
    padding: 150rpx 32rpx 50rpx 32rpx;
    width: 100%;
    background-color: darkcyan;

    .edit {
      color: #fff;
      margin-bottom: 32rpx;
    }

    .home-avatar {
      display: flex;
      align-items: center;

      image {
        width: 150rpx;
        height: 150rpx;
        border-radius: 50%;
        margin-right: 32rpx;
      }

      .name-info {
        font-size: 40rpx;
        color: #fff;
        font-weight: 600;
      }
    }

    .chat-reward {
      display: flex;
      align-items: center;
      margin-top: 32rpx;

      .chat,
      .reward {
        font-size: 40rpx;
        color: #ffffff;
        display: flex;
        align-items: center;
        font-weight: 600 !important;

        .text {
          margin-left: 10rpx;
        }
      }

      .chat {
        margin-right: 32rpx;
        position: relative;
      }
    }
  }

  .content-box {
    padding: 32rpx;
    background-color: #fff;
    border-radius: 30rpx 30rpx 0 0;
    position: relative;
    top: -30rpx;

    .follow-info {
      display: flex;
      align-items: center;
      margin-bottom: 32rpx;

      .follow-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-right: 50rpx;

        .nums {
          font-weight: 600;
        }

        .title {
          font-size: 26rpx;
          color: darkolivegreen;
        }
      }
    }

    .label-list {
      display: flex;
      align-items: center;

      .label-item {
        padding: 10rpx 15rpx;
        background: #f1f1f1;
        font-size: 24rpx;
        margin-right: 32rpx;
        border-radius: 10rpx;
      }
    }

    .tab {
      margin-top: 18rpx;

      .free-list {
        padding-top: 18rpx;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        overflow: hidden;

        .list-item {
          margin-bottom: 20rpx;
          height: max-content;
          width: 48%;

          .courses {
            width: 100%;
            border-radius: 8rpx;
            overflow: hidden;

            image {
              width: 100%;
              height: auto;
            }
          }

          // .courses-title {
          //   font-weight: 500;
          //   font-size: 28rpx;
          //   color: #000000;
          //   line-height: 45rpx;
          //   margin: 8rpx 0;
          //   width: 343rpx;
          // }

          // .courses-tips {
          //   font-size: 24rpx;
          //   color: #666666;
          //   line-height: 38rpx;
          //   width: 300rpx;
          // }

          .courses-organization {
            display: flex;
            align-items: center;
            margin: 8rpx 0;
            width: 343rpx;

            .organization-avatar {
              width: 48rpx;
              height: 48rpx;
              // background: #d9d9d9;
              border-radius: 50%;
              overflow: hidden;

              image {
                width: 100%;
                height: 100%;
              }
            }

            .organization-name {
              font-size: 24rpx;
              color: #999999;
              line-height: 38rpx;
              margin: 0 8rpx;
            }

            .organization-date {
              font-size: 24rpx;
              color: #999999;
              line-height: 38rpx;
              width: 68rpx;
            }
          }

          .courses-price {
            font-weight: 500;
            font-size: 28rpx;
            color: #000000;
            line-height: 45rpx;
          }
        }
      }

      .work-list {
        padding-top: 18rpx;

        .work-item {
          display: flex;
          align-items: center;
          margin-bottom: 20rpx;

          .work-img {
            width: 150rpx;
            margin-right: 30rpx;

            image {
              width: 100%;
              height: auto;
            }
          }

          .work-info {
            height: 150rpx;
            padding: 10rpx 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            .work-name {
              width: 340rpx;
            }

            .work-date {
              color: #808080;
              font-size: 26rpx;
            }
          }
        }

        .work-item:last-child {
          margin-bottom: 0;
        }
      }

      .organizer-list {
        padding-top: 18rpx;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;

        .organizer-item {
          width: 48%;
          // height: 420rpx;
          position: relative;
          margin-bottom: 20rpx;

          .organizer-img {
            width: 100%;
            height: 100%;
            background: #d9d9d9;

            image {
              width: 100%;
            }
          }

          .organizer-info {
            position: absolute;
            left: 24rpx;
            bottom: 24rpx;
            display: flex;
            align-items: center;
            height: 48rpx;
            width: max-content;

            .organizer-avatar {
              width: 48rpx;
              height: 48rpx;
              border-radius: 50%;
              background: #666666;
              overflow: hidden;

              image {
                width: 100%;
                height: 100%;
              }
            }

            .organizer-name {
              font-size: 24rpx;
              color: #000000;
              line-height: 28rpx;
              margin-left: 8rpx;
              width: 136rpx;
            }
          }
        }
      }

      .event-ranking {
        padding-top: 18rpx;

        .event-ranking-item {
          margin-bottom: 38rpx;
        }
        & .event-ranking-item:last-child {
          margin-bottom: 0rpx;
        }

        .item-img {
          width: 702rpx;
          height: 352rpx;
          border-radius: 8rpx;
          margin-bottom: 8rpx;
          background-color: #666666;
          overflow: hidden;

          image {
            width: 100%;
            height: 100%;
          }
        }

        .ranking-name {
          width: 520rpx;
          font-size: 28rpx;
          color: #000000;
          line-height: 33rpx;
        }

        .ranking-tips {
          font-weight: 300;
          font-size: 28rpx;
          color: #666666;
          line-height: 33rpx;
          margin: 8rpx 0;
        }

        .ranking-organization {
          display: flex;
          align-items: center;

          .organization-avatar {
            width: 48rpx;
            height: 48rpx;
            border-radius: 50%;
            overflow: hidden;

            image {
              width: 100%;
              height: 100%;
            }
          }

          .organization-name {
            font-weight: 400;
            font-size: 24rpx;
            color: #000000;
            line-height: 38rpx;
            margin: 0 8rpx;
          }
          .organization-date {
            font-size: 24rpx;
            color: #ff5050;
            line-height: 38rpx;
          }
          .organization-price {
            flex: 1;
            text-align: right;
            font-weight: 500;
            font-size: 28rpx;
            color: #000000;
            line-height: 45rpx;
          }
        }
      }
    }

    .popular-groups {
      padding-top: 18rpx;

      .group-item {
        margin-bottom: 20rpx;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .group-avatar {
          width: 112rpx;
          height: 112rpx;
          background: #d9d9d9;
          border-radius: 50%;
          margin-right: 16rpx;

          image {
            width: 100%;
            height: 100%;
          }
        }

        .group-info {
          flex: 1;
          height: 112rpx;
          display: flex;
          flex-direction: column;
          justify-content: space-between;

          .info-name {
            width: 300rpx;
            font-size: 24rpx;
            color: #000000;
            line-height: 28rpx;
          }

          .info-tag {
            color: #ffffff;
            width: 300rpx;
            margin: 8rpx 0;

            .tag-item {
              padding: 4rpx 16rpx;
              background: #999999;
              border-radius: 24rpx;
              font-size: 20rpx;
              color: #ffffff;
              line-height: 23rpx;
              margin-right: 8rpx;
            }

            .tag-item:last-child {
              margin-right: 0;
            }
          }

          .info-tips {
            width: 300rpx;
            font-weight: 500;
            font-size: 28rpx;
            color: #666666;
            line-height: 33rpx;
          }
        }

        .join-now {
          background: #000000;
          padding: 14rpx 20rpx;
          font-size: 24rpx;
          color: #ffffff;
          line-height: 28rpx;
        }
      }
    }
  }

  .courses-title {
    font-weight: 500;
    font-size: 28rpx;
    color: #000000;
    line-height: 45rpx;
    margin: 8rpx 0;
    width: 200rpx;
  }

  .courses-tips {
    font-size: 24rpx;
    color: #666666;
    line-height: 38rpx;
    width: 300rpx;
  }
}
